<?php

use yii\helpers\Html;
use common\models\articles\Articles;
    $tongzhi = Articles::find()->where(['category_id'=>18])->asArray()->limit(10)->all();
    $hangye = Articles::find()->where(['category_id'=>28])->asArray()->limit(10)->all();
    $xinwen = Articles::find()->where(['category_id'=>14])->asArray()->limit(10)->all();

/* @var $this yii\web\View */
/* @var $model common\models\meeting\Meetingenroll */
$controllerID = Yii::$app->controller->id;
$actionID = Yii::$app->controller->action->id;

$this->title = Yii::t('app', '填写信息');
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', '填写信息'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
    <style>
        html, body {
            background: #fff;
        }

        .content_panel {
            margin: 0;
        }

        .form_Pontent ul li {
            margin-bottom: 10px;
        }

            .form_Pontent ul li label {
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;
                margin-right: 20px;
            }

            .form_Pontent ul li input[type='button'].button {
                text-indent: 0;
                font-size: 13px;
                width: 130px;
                height: 40px;
                background: #242424;
                color: #fff;
                display: inline-block;
                line-height: 40px;
                margin: 0;
            }

                .form_Pontent ul li input[type='button'].button:hover {
                    background: #333;
                    color: #e3e3e3;
                }

            .form_Pontent ul li input[type='submit'].button {
                text-indent: 0;
                font-size: 13px;
                width: 130px;
                height: 40px;
                background: #242424;
                color: #fff;
                display: inline-block;
                line-height: 40px;
                margin: 0;
            }

                .form_Pontent ul li input[type='submit'].button:hover {
                    background: #333;
                    color: #e3e3e3;
                }

        font.prompt {
            width: 26%;
        }

        .paid label {
            float: left;
        }

        #tipMsg p {
            padding-left: 185px;
            line-height: 35px;
        }
    </style>

    <style>
        body{    min-width: 1000px;}
        .form_Pontent ul li input[mobile="mobile"] {
            width: 70% !important;
            float: left;
        }

        .form_Pontent ul li input[type='number'] {
            float: left;
        }

        .iframe_liBtn {
            position: fixed;
            bottom: 0;
            left: 0;
            margin: 0 !important;
            text-align: right !important;
            background-color: #f9f9f9;
            padding: 1px 0 !important;
            border-top: 1px solid #e4e4e4;
        }
        .content_panel {
            margin: 0;
        }

        .form_Pontent ul li input[type='button'].button {
            text-indent: 0;
            font-size: 13px;
            width: 130px;
            height: 40px;
            background: #242424;
            color: #fff;
            display: inline-block;
            line-height: 40px;
            margin: 0;
        }

            .form_Pontent ul li input[type='button'].button:hover {
                background: #333;
                color: #e3e3e3;
            }

        /*取色控件*/
        .k-widget.k-colorpicker.k-header {
            float: right;
        }

        .k-picker-wrap.k-state-default {
            border: 0;
            height: 40px;
        }

        .k-state-default > .k-select {
            width: 34px;
            background: #fff;
            border: 1px solid #ccc;
            height: 38px;
        }

        .k-icon.k-i-arrow-s {
            margin-top: 12px;
        }

        .k-colorpicker .k-selected-color {
            background-color: rgb(204, 204, 204);
            height: 38px;
            width: 52px;
            border-radius: 0;
            border: 1px solid #ccc;
        }

        .menu_color{color:#ffffff} .design_content{background-color:#cccccc} .design_menu{background-color:#333333} .menu_color{color:#ffffff}
    </style>
<div class="design_content" style="margin-bottom: -10px;">
                            <div class="design_banner" style="top: 0">
                                <div class="design_title" style="">
                                    <div class="title_center">
                                        <p class="txt_title"><?= $setinfo['ac_name'] ?></p>
                                        <p class="txt_time"><?= date('Y-m-d H:i:s',$setinfo['start_time']) ?></p>
                                        <p class="txt_place"></p>
                                    </div>
                                </div>
                                <img src="<?= yii::getAlias('@web');?>/images/banner.jpg" style="width: 100%;">
                            </div>
                            <div class="design_menu" style="margin-top: 0">
                                    <a class="menu_color cur" href="http://new.mymova.com/ruoze/Event68321/SelectTicket" target="_self">报名注册</a>
                            </div>

                    <div class="design_form">
                        <div class="form_Pontent">
<ul style=" padding:25px;">
    <li class="page-top"></li>
    <li style="margin-top: 10px;margin-left:80px; margin-bottom:20px;">
            
            <span onclick="enrollUrlJump('http://new.mymova.com/ruoze/Event68321/SelectTicket?e=1')" class="circular" style=" cursor: pointer;">1</span>
            <font class="prompt ">填写信息</font>
            <span class="circular">2</span>
            <font class="prompt ">确认报名</font>
                <span class="circular cur">3</span>
            <b class="b_txt">报名成功</b>

        </li>
    <li>
        <!--报名人员信息-->
        <!--报名人员信息-->
        <div class="div-enrollinfo">
    <ul>
       
        <li class="li-info"><span>报名信息</span>
        </li>
        <li>
            <div class="div-content">
                <dl class="dl-left"><dt>&nbsp;</dt><dd><strong class="fold"><i id="icon" class="icon_undrop"></i>
                    <?php foreach($list as $key=>$vo){ 
                        if($vo['type']=="email") 
                        { echo $vo['value'];
                        } } ?>
                    </strong></dd></dl>
                <dl class="dl-right"><dt>报名信息</dt><dd class="tset"><?= $setinfo['ac_name']?></dd></dl>
            </div>

            <ol class="ol-fold">
                    <li><label>凭证号</label><span>
                    <?php 
                    $arr = str_split($cusinfo[0]['code'], 3);
                    $codem = implode('-',$arr); 
                    echo $codem;
                    ?>
                    </span></li>
                    <li><label>二维码</label><span><img src="<?php echo Yii::$app->request->hostInfo.'/upload/erm/'.$cusinfo[0]['code'].'.png'; ?>" width="175" height="175"></span></li>
                    <?php foreach($list as $key=>$vo){?>
                    <li>
                        <label title="<?= $vo['name'] ?>"><?= $vo['name'] ?></label>
                        <span class="tset" title="<?= $vo['value'] ?>"><?= $vo['value'] ?></span>
                    </li>
                    <?php } ?>
            </ol>
        </li>
       
    </ul>
</div>
</li>
   <li class="paid">
        <hr>
            <label><strong>报名成功信息</strong></label>
           <span id="tipMsg"><?= $setinfo['ac_baoming']?></p></span>
    </li> 
    </ul>   